package com.yykj.user.center.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalDate2LongSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.LocalDateTime;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/1 13:50
 */
@Data
public class PatientCardInfoDTO {

    private String id;

    @ApiModelProperty("患者名称")
    private String patientName;

    @ApiModelProperty("与帐号的关系")
    private String relation;

    @ApiModelProperty("证件类型")
    private String documentType;

    @ApiModelProperty("证件号")
    private String idCard;

    @ApiModelProperty("就诊卡号")
    private String cardNo;

    @ApiModelProperty("身高")
    private Float height;

    @ApiModelProperty("体重")
    private Float weight;

    @ApiModelProperty("民族")
    private String nation;

    @ApiModelProperty("血型")
    private String bloodType;

    @ApiModelProperty("婚姻")
    private String marriage;

    @ApiModelProperty("生育")
    private String birth;

    @ApiModelProperty("过敏史")
    private String allergicHistory;

    @ApiModelProperty("现病史")
    private String presentIllnessHistory;

    @ApiModelProperty("其他病史")
    private String otherMedicalHistory;

    @ApiModelProperty("家族史")
    private String familyHistory;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;


}
